/**
 * 
 */
package org.dragonfire.parser.functions;

import java.util.Calendar;

import org.dragonfire.parser.Equation;

/**
 * @author Darth Android
 * @date Aug 6, 2006
 */
public class Year extends Function {

	public String eval(Equation equ, String[] params) {
		return Calendar.getInstance().get(Calendar.YEAR) + "";
	}

	public int minParams() {
		return 0;
	}
}
